.messageItem {
  padding: 24px 0;
  .messageItemSection {
    display: inline-block;
  }
  .messageItemSectionLeft {
    width: 80%;
  }
  .messageItemContent {
    display: inline-flex;
    gap: 20px;
  }
  .messageItemContentReverse {
    flex-direction: row-reverse;
  }

  .messageTextBase() {
    padding: 6px 10px;
    border-radius: 8px;
    & > p {
      margin: 0;
    }
  }
  .messageText {
    .chunkText();
    .messageTextBase();
    background-color: #e6f4ff;
    word-break: break-word;
  }
  .messageTextDark {
    .chunkText();
    .messageTextBase();
    background-color: #1668dc;
    word-break: break-word;
    :global(section.think) {
      color: rgb(166, 166, 166);
      border-left-color: rgb(78, 78, 86);
    }
  }

  .messageUserText {
    .chunkText();
    .messageTextBase();
    background-color: rgba(255, 255, 255, 0.3);
    word-break: break-word;
    text-align: justify;
  }
  .messageEmpty {
    width: 300px;
  }

  .thumbnailImg {
    max-width: 20px;
  }
}

.messageItemLeft {
  text-align: left;
}

.messageItemRight {
  text-align: right;
}

.videoCoverContainer {
  position: relative;
  width: 40%;
  padding-top: 22.5%; /* 16:9 宽高比 */
  overflow: hidden;
  border-radius: 4px;
  // background-color: black;
  cursor: pointer;
}
.videoCover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.3s ease;
  transform-origin: center center;
  &:hover {
    transform: scale(1.1);
  }
}

// 在样式文件(index.less)中添加以下样式
.suggestedQuestions {
  margin-top: 16px;
  padding: 12px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;

  .suggestedTitle {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 8px;
    font-weight: 500;
  }

  .suggestedList {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    .suggestedItem {
      border-radius: 16px;
      padding: 4px 12px;
      background-color: #e9ecef;
      color: #495057;
      border: none;
      transition: all 0.2s;

      &:hover {
        background-color: #dee2e6;
        color: #212529;
      }
    }
  }
}
